package gentle.controller;


import gentle.entity.SearchCashDailyReportInfo;
import gentle.service.IPerformanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;
import java.util.Map;

/**
 * 现金日报
 */
@Controller
@RequestMapping("/cashDailyReport")
public class CashDailyReport  {

    @Autowired
    IPerformanceService service;

    @RequestMapping(value = "/getList", method = RequestMethod.POST)
    @ResponseBody
    public List<Map<String, Object>> report(SearchCashDailyReportInfo searchInfo, String obj) {
        return service.report(searchInfo,obj);
    }
}
